import request from '@/utils/request'
import qs from 'qs';

//获取商品类型列表
export function getOSS(data) {
  return request({
    url: '/ajax/ossget/index',
    method: 'post',
    data: qs.stringify(data)
  })
}

//获取省份
export function getProvince(data) {
  console.log('走的哪儿');
  return request({
    url: '/ajax/index/getProvinceAjax',
    method: 'post',
    data: qs.stringify(data)
  })
}

//获取城市
export function getCity(data) {
  return request({
    url: '/ajax/index/getCityAjax',
    method: 'post',
    data: qs.stringify(data)
  })
}